<html>

    <head>
        <meta charset="UTF-8">
        <title>淘兴趣</title>
        <meta name="viewport" content="width=device-width">
        <link rel="stylesheet" type="text/css" href="/stylesheets/bootstrap.min.css" />
        <script type="text/javascript" src="/javascripts/jquery-3.4.1.min.js"></script>
        <script type="text/javascript" src="/javascripts/bootstrap.min.js"></script>

        <style>
            form{
                margin: 0 10%;
            }
        </style>
      </head>

    <body>
        <% include header %>
        <form action="add_comment?id=<%= topicId %>" method="post" class="">
            <div class="form-group ">
                <label for="account">标题:</label>
                <input type="text" name="title" class="form-control" placeholder="请输入标题" />
            </div>
            <div class="tips row">
                <div class="col-3"></div>
                <p id='tips-account'></p>
            </div>

            <div class="form-group ">
                <label for="account">内容:</label>
                <input type="text" name="content" class="form-control" placeholder="请输入内容" />
            </div>

            <input type="hidden" name="tobicId" value="<%= topicId %>"/>

            <div class="form-group p-2 d-flex align-items-center">
                <input id="log_btn" class="mr-auto w-50 p-1" type="submit" value="提交" />
            </div>
        </form>
    </body>
</html>